package com.csap.framework.apidoc.admin.model;

import com.csap.framework.annotation.apidoc.Description;
import lombok.Data;
import lombok.AllArgsConstructor;
import com.csap.framework.annotation.apidoc.ApiModelProperty;

import java.time.LocalDateTime;

import lombok.NoArgsConstructor;
import lombok.Builder;
import com.csap.framework.apidoc.admin.entity.ApiDocMockParamEntity;
import com.csap.mybatisplus.extension.activerecord.CloneModel;
import lombok.experimental.Accessors;
import com.csap.framework.annotation.apidoc.ApiModel;

/**
 * <p>
 * Mock参数属性
 * </p>
 *
 * @author
 * @dateTime
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(description = "Mock参数属性", value = "apiDocMockParam对象")
@Description(value = "Mock参数属性Model")
public class ApiDocMockParamModel extends CloneModel<ApiDocMockParamModel, ApiDocMockParamEntity> {
    @ApiModelProperty(description = "主键", value = "主键")
    private Long id;
    @ApiModelProperty(description = "创建时间", value = "创建时间")
    private LocalDateTime createTime;
    @ApiModelProperty(description = "修改时间", value = "修改时间")
    private LocalDateTime updateTime;
    @ApiModelProperty(description = "键", value = "键", forceReq = true)
    private String key;
    @ApiModelProperty(description = "值", value = "值", forceReq = true)
    private String value;
    @ApiModelProperty(description = "类型1参数2头部信息", value = "类型1参数2头部信息")
    private Integer type;
    @ApiModelProperty(description = "mock数据ID", value = "mock数据ID")
    private Long mockId;

}
